<script setup>
import { useRouter } from 'vue-router'
let router = useRouter()
// 动画
setTimeout(() => {
  // 跳转到首页
  router.push('/home')
}, 2000)
</script>

<template>
  <div class="welcome">
    <!-- 特效 -->
    <div class="line-tea frist">海的声音很动听，</div>
    <div class="line-tea second">你跟我讲话我也很心动...</div>
  </div>
</template>
<style lang="scss" scoped>
.welcome {
  height: 99.5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .line-tea {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
  }

  .frist {
    margin-right: 100px;
  }
  .second {
    margin-left: 100px;
  }
}
</style>
